#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Created on 2010-2-21

@author: neatchenheng
'''
import unittest
import auctionutility

class BasicAuthHandlerTest(unittest.TestCase):

    def testDownload(self):
        auth_handler = auctionutility.BasicAuthHandler('http://taoke.alimama.com/spreader/search_auction.htm','neatchenheng','c0624h')
        auth_handler.download()


if __name__ == "__main__":
    unittest.main()